package com.hdsx.restful.glzt.structure.jkss.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hdsx.restful.dao.Mapper;
import com.hdsx.restful.glzt.roadline.lxxx.bean.Znode;
import com.hdsx.restful.glzt.structure.jkss.bean.Jkss;
import com.hdsx.restful.glzt.structure.ql.bean.IntValueName;

@Mapper
public interface JkssMapper {

	Jkss getShapeById(String id);

	Jkss queryOne(String jkssbh);

	List<Jkss> selectList(Map<String, Object> parameter);

	int selectCount(Map<String, Object> parameter);

	int countByXzqhbm(Map<String, Object> parameter);

	List<Jkss> selectListByXzqhbm(Map<String, Object> parameter);

	List<Jkss> selectListByLxbm(Map<String, Object> parameter);

	int countByLxbm(Map<String, Object> parameter);
	List<IntValueName> countTotalByParameter(Map<String, Object> parameter);
	List<String> selectClassify(Map<String, Object> parameter);
	List<Znode> node(); 
	int countTotal(Map<String, Object> map);
	List<Jkss> listAll(@Param("lxbm")String lxbm,@Param("xzqhbm")String xzqhbm,@Param("sxxfx")String sxxfx,@Param("qdzh")Double qdzh,
			@Param("zdzh")Double zdzh,@Param("name")String name);
	Jkss selectById(String id);
	/**
	 * 分类细节
	 */
	List<Jkss> detail(Map<String, Object> map);
	
	int countDetail(Map<String, Object> map);
	List<String> selectName(String name);
}
